export const optionLightValue = {
	tooltip: {
		trigger: 'axis',
		axisPointer: {
			lineStyle: {
				width: 1,
				color: '#019680'
			}
		}
	},
	legend: {
		show: true,
		top: '-2',
		right: '5%',
		icon: 'rect',
		itemWidth: 20,
		itemHeight: 8,
		borderRadius: 50,
		itemGap: 5,
		formatter: (name) => {
			return `{name|${name.substring(0,2)}}`;
		},
		textStyle: {
			rich: {
				name: {
					color: [
						'rgba(118, 219, 251)',
						'rgba(255, 230, 101)',
						'rgba(165, 108, 250)',
						'rgba(123, 253, 192)',
						'rgba(61, 129, 243)',
						'rgba(255, 175, 102)'
					],
					fontSize: 10,
				}
			},
		}
	},
	grid: {
		top: '16%',
		left: '3%',
		right: '4%',
		bottom: '3%',
		containLabel: true
	},
	xAxis: [{
		type: 'category',
		data: [],
		axisLine: {
			show: true,
			lineStyle: {
				color: '#fff',
				opacity: 0.3,
				width: 1,
				type: 'solid'
			}
		},
		axisTick: {
			show: false
		},
		axisLabel: {
			show: true,
			textStyle: {
				fontSize: 8,
				color: '#fff'
			}
		}
	}],
	yAxis: [{
		name: 'kWh',
		type: 'value',
		axisLabel: {
			formatter: '{value}',
			textStyle: {
				fontSize: 8,
				color: '#fff'
			}
		},
		axisLine: {
			show: true,
			lineStyle: {
				color: '#fff',
				width: 1,
				type: 'solid'
			}
		},
		axisTick: {
			show: false
		},
		splitLine: {
			lineStyle: {
				color: '#fff',
				opacity: 0.3
			}
		}
	}],
	series: [{
		name: "-",
		type: 'bar',
		stack: '1',
		emphasis: {
			focus: 'series',
		},
		itemStyle: {
			normal: {
				color: 'rgba(118, 219, 251)',
			},
			opacity: 0.2,
		},
		label: {},
		data: []
	}]
};
export const optionLightR1Value = {
	title: {
		text: '{a|日照明使用率}\n\n{c|25}{b|%}',
		x: 'center',
		y: 'center',
		textStyle: {
			rich: {
				a: {
					fontSize: 8,
					color: '#fff'
				},
				b: {
					fontSize: 13,
					color: '#c2f3ff',
					padding: [0, 1]
				},
				c: {
					fontSize: 13,
					color: '#c2f3ff'
				}
			}
		}
	},
	series: [{
			name: 'ring5',
			type: 'custom',
			coordinateSystem: 'none',
			data: [0]
		},
		{
			name: 'ring5',
			type: 'custom',
			coordinateSystem: 'none',
			data: [0]
		},
		{
			name: '',
			type: 'pie',
			radius: ['88%', '86%'],
			silent: true,
			clockwise: true,
			startAngle: 90,
			z: 0,
			zlevel: 0,
			label: {
				normal: {
					position: 'center'
				}
			},
			data: [{
				value: 100,
				name: '',
				itemStyle: {
					normal: {
						color: '#73DEFF'
					}
				}
			}]
		}
	]
};
export const optionLightR2Value = {
	title: {
		text: '{a|日节约照明电量}\n\n{c|158}{b|kWh}',
		x: 'center',
		y: 'center',
		textStyle: {
			rich: {
				a: {
					fontSize: 8,
					color: '#fff'
				},
				b: {
					fontSize: 13,
					color: '#c2f3ff',
					padding: [0, 2]
				},
				c: {
					fontSize: 13,
					color: '#c2f3ff'
				}
			}
		}
	},
	series: [{
			name: 'ring5',
			type: 'custom',
			coordinateSystem: 'none',
			data: [0]
		},
		{
			name: 'ring5',
			type: 'custom',
			coordinateSystem: 'none',
			data: [0]
		},
		{
			name: '',
			type: 'pie',
			radius: ['88%', '86%'],
			silent: true,
			clockwise: true,
			startAngle: 90,
			z: 0,
			zlevel: 0,
			label: {
				normal: {
					position: 'center'
				}
			},
			data: [{
				value: 100,
				name: '',
				itemStyle: {
					normal: {
						color: '#73DEFF'
					}
				}
			}]
		}
	]
};
export const optionLightR3Value = {
	title: {
		text: '{a|年节约照明电费}\n\n{c|￥}{b|18123}',
		x: 'center',
		y: 'center',
		textStyle: {
			rich: {
				a: {
					fontSize: 8,
					color: '#fff'
				},
				b: {
					fontSize: 13,
					color: '#c2f3ff'
				},
				c: {
					fontSize: 13,
					color: '#c2f3ff'
				}
			}
		}
	},
	series: [{
			name: 'ring5',
			type: 'custom',
			coordinateSystem: 'none',
			data: [0]
		},
		{
			name: 'ring5',
			type: 'custom',
			coordinateSystem: 'none',
			data: [0]
		},
		{
			name: '',
			type: 'pie',
			radius: ['88%', '86%'],
			silent: true,
			clockwise: true,
			startAngle: 90,
			z: 0,
			zlevel: 0,
			label: {
				normal: {
					position: 'center'
				}
			},
			data: [{
				value: 100,
				name: '',
				itemStyle: {
					normal: {
						color: '#73DEFF'
					}
				}
			}]
		}
	]
};
